/*===== GOGGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
  --body-font: 'Open Sans', sans-serif;
  --biggest-font-size: 8rem;
  --h2-font-size: 1.5rem;
  --normal-font-size: 0.7rem;
  --first-color: #0396A6;
  --dark-color: #000;
  --white-color: #F2F2F2;
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*===== BASE =====*/
*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1200px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.l-header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-modal);
}

/*===== NAVBAR =====*/
.nav {
  height: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: bold;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.45);
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #616161;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #888888;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    left: 0%;
    top: -100%;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 40%;
    padding: 2rem;
    text-align: center;
    z-index: var(--z-fixed);
    -webkit-transition: .3s;
    transition: .3s;
  }
}

.nav__logo {
  color: var(--white-color);
}

.nav__item {
  margin-bottom: 2rem;
}

.nav__link {
  color: var(--white-color);
}

.nav__toggle {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
}

.show {
  top: 3rem;
}

/*===== HOME =====*/
.home {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.home__parallax {
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home__parallax-img1 {
  background-image: url("/images/imgm1.png");
  z-index: var(--z-normal);
}

.home__parallax-img2 {
  background-image: url("/images/imgm2.png");
  z-index: var(--z-tooltip);
}

.home__parallax-img3 {
  background-image: url("/images/imgm3.png");
  z-index: var(--z-fixed);
}

.home__parallax-img4 {
  background-image: url("/images/imgm4.png");
  z-index: var(--z-fixed);
}

.home__title,
.home__subtitle {
  position: absolute;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--white-color);
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-top: 130px;
  z-index: 10;
}

.home__subtitle {
  top: 44%;
  font-size: var(--h2-font-size);
  font-weight: bold;
  z-index: var(--z-tooltip);
}

.home__scroll {
  position: absolute;
  font-style: italic;
  font-weight: bold;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  z-index: var(--z-modal);
}

.home__scroll .bx-mouse {
  color: var(--white-color);
  font-size: 2rem;
}

.home__scroll p {
  color: var(--white-color);
  margin-top: 10px;
  font-size: 1rem;
}

/*===== SECTION =====*/
.l-section {
  background-color: var(--dark-color);
}

.section {
  max-width: 1500px;
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 2rem 0;
  color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.section__data {
  margin: 3rem 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.section__text {
  font-size: var(--normal-font-size);
  display: inline-block;
}

.card p {
  font-style: italic;
  font-weight: bold;
  color: darkgray;
}

/*===Favorite Place===*/
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.favourite-places {
  position: relative;
  width: 70%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 60px;
}

.places {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.places img {
  width: 100%;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  transition: .5s;
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: .5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}

#auto-type {
  color: #915eff;
}

/*-Phone Size-*/
@media (max-width:1920px) {
  .home__title {
    margin-top: 100px;
  }

}
@media (max-width:1600px) {
  :root {
    --biggest-font-size: 5rem;
    --h2-font-size: 1rem;
    --normal-font-size: 0.7rem;
  }

  .home__scroll p {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 1350px) {
  .section {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
  }

  .section__text {
    padding-right: 4rem;
  }

  .home__title {
    top: 27%;
  }

  .home__subtitle {
    top: 50%;
  }
}

@media screen and (max-width: 1349px) {
  .section__data {
    text-align: center;
  }

  .home__title {
    top: 27%;
  }
}

@media (max-width:768px) {
  .row {
    flex-direction: column;
  }

  :root {
    --biggest-font-size: 3.3rem;
    --h2-font-size: 0.9rem;
    --normal-font-size: 0.625rem;
  }

  .layer h3 {
    width: 70%;
    font-size: 20px;
  }

  .skill-box,
  .section {
    flex-direction: column;
  }

  .home__scroll p {
    font-size: 0.6rem;
  }

  .home__scroll .bx-mouse {
    color: var(--white-color);
    font-size: 1rem;
  }

  .home__title {
    margin-top: 150px;
  }
}

@media (max-width:480px) {
  :root {
    --biggest-font-size: 2.3rem;
    --h2-font-size: 0.9rem;
    --normal-font-size: 0.625rem;
  }

  .discord-status {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .nav__logo {
    margin-left: 1rem;
  }

  .nav {
    height: 4rem;
  }

  .nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .nav__item {
    margin-right: 3rem;
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }
}